package com.lxmes.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 网站信息发布对象 mh_information
 *
 * @author zhangzhiyu
 * @date 2023-06-07
 */
@ApiModel(value = "MhInformation", description = "网站信息发布对象")
public class MhInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @ApiModelProperty("序号")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    @ApiModelProperty("公司代码")
    private String factoryCode;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String factoryName;

    /** 信息标题 */
    @Excel(name = "信息标题")
    @ApiModelProperty("信息标题")
    private String title;

    /** 摘要 */
    @Excel(name = "摘要")
    @ApiModelProperty("摘要")
    private String summary;

    /** 信息视频 */
    @Excel(name = "信息视频")
    @ApiModelProperty("信息视频")
    private String videoUrl;

    /** 信息图片 */
    @Excel(name = "信息图片")
    @ApiModelProperty("信息图片")
    private String imageUrl;

    /** 是否设置轮播图 */
    @Excel(name = "是否设置轮播图")
    @ApiModelProperty("是否设置轮播图")
    private String carousel;

    /** 信息内容 */
    @ApiModelProperty("信息内容")
    private String content;
    private String noticeContent;

    /** 所属栏目 */
    @Excel(name = "所属栏目")
    @ApiModelProperty("所属栏目")
    private String columnCode;

    /** 所属栏目类型 */
    @Excel(name = "所属栏目类型")
    @ApiModelProperty("所属栏目类型")
    private String columnTypeCode;

    /** 浏览数 */
    @Excel(name = "浏览数")
    @ApiModelProperty("浏览数")
    private Long views;

    /** 点赞数 */
    @Excel(name = "点赞数")
    @ApiModelProperty("点赞数")
    private Long likes;

    /** 评论数 */
    @Excel(name = "评论数")
    @ApiModelProperty("评论数")
    private Long comments;

    /** 是否审核通过 */
    @Excel(name = "是否审核通过")
    @ApiModelProperty("是否审核通过")
    private String isApproved;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFactoryCode(String factoryCode)
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode()
    {
        return factoryCode;
    }
    public void setFactoryName(String factoryName)
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName()
    {
        return factoryName;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setSummary(String summary)
    {
        this.summary = summary;
    }

    public String getSummary()
    {
        return summary;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setCarousel(String carousel)
    {
        this.carousel = carousel;
    }

    public String getCarousel()
    {
        return carousel;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setColumnCode(String columnCode)
    {
        this.columnCode = columnCode;
    }

    public String getColumnCode()
    {
        return columnCode;
    }
    public void setColumnTypeCode(String columnTypeCode)
    {
        this.columnTypeCode = columnTypeCode;
    }

    public String getColumnTypeCode()
    {
        return columnTypeCode;
    }
    public void setViews(Long views)
    {
        this.views = views;
    }

    public Long getViews()
    {
        return views;
    }
    public void setLikes(Long likes)
    {
        this.likes = likes;
    }

    public Long getLikes()
    {
        return likes;
    }
    public void setComments(Long comments)
    {
        this.comments = comments;
    }

    public Long getComments()
    {
        return comments;
    }
    public void setIsApproved(String isApproved)
    {
        this.isApproved = isApproved;
    }

    public String getIsApproved()
    {
        return isApproved;
    }

    public String getNoticeContent() {
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryCode", getFactoryCode())
            .append("factoryName", getFactoryName())
            .append("title", getTitle())
            .append("summary", getSummary())
            .append("videoUrl", getVideoUrl())
            .append("imageUrl", getImageUrl())
            .append("carousel", getCarousel())
            .append("content", getContent())
            .append("columnCode", getColumnCode())
            .append("columnTypeCode", getColumnTypeCode())
            .append("views", getViews())
            .append("likes", getLikes())
            .append("comments", getComments())
            .append("isApproved", getIsApproved())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
